export default ({ service, request, serviceForMock, requestForMock, mock, faker, tools }) => ({
  genCode: {
    java (data = {}) {
      return request({
        url: '/curd/code/gen/java',
        method: 'post',
        data: data
      })
    },
    sql (data = {}) {
      return request({
        url: '/curd/code/gen/sql',
        method: 'post',
        data: data
      })
    },
    vue (data = {}) {
      return request({
        url: '/curd/code/gen/vue',
        method: 'post',
        data: data
      })
    }
  }
})
